﻿<?
include("../config/header.php");
?>
<script type='text/javascript'>
	document.title = '在线密钥脚本加密 —— 在线工具';
</script>
<div class="container">
	<div class="panel panel-primary">
		<div class="panel-heading"><h3 class="panel-title">在线密钥脚本加密</h3></div>
	</div>
	<div class="form-group">
		<label>输入文本：</label>
		<textarea id="content" name="content"  class="form-control" style="width:100%;height:250px;border:1px solid #c5e2f2;overflow:visible;" placeholder="要加密的内容放上面"></textarea>
	</div>
	<div class="form-group" align="center">
		密钥:<input type="text" name="userid" id="userid" value="123456">
		<button onclick="jiami(content.value,get_user());" class="button button-rounded button-flat-primary">加密</button>
		<button onclick="gob();" class="button button-rounded button-flat-action">到反序</button>
		<button onclick="EmptyKey()" class="button button-rounded button-flat-highlight">清空内容</button>
		<input name="code" type="text" id="code" size="5">
	</div>
	<div class="form-group">
		<label>结果：</label>
		<textarea id="textbios" name="textbios" class="form-control" style="width:100%;height:250px;border:1px solid #c5e2f2;overflow:visible;"></textarea>
	</div>
	<div class="form-group" align="center">
		<button onclick="jQuery('#result').val('');" class="button button-rounded button-flat-highlight">清空</button>
	</div>
</div>
<?php
include("../config/footer.php");
?>